% The "DrawLineExample" program.
% Sets the screen to graphics mode.
setscreen ("graphics")
drawline (100, 200, 500, 200, red)
% The drawline command will create a line. The 100, 240
% will place the left end of the line 100 pixels
% from the left side of the screen and 240 pixels up
% from the bottom of the screen. The 500, 240 will extend
% the line to the point 500 pixels from the left (400
% pixels over from the starting point) and 240 pixels up
% from the bottom of the screen, creating a straight horizontal
% line.
